package com.lxj.mapper;

import com.lxj.domain.Group;
import com.lxj.domain.GroupMember;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GroupMemberMapper {
    List<GroupMember> findMemberByGroupId(Integer id);

    int update( Group group);

    List<GroupMember> findContainUser(Integer id);

    int cancelMember(GroupMember groupMember);

    int addMember(GroupMember groupMember);

    List<GroupMember> selectAll(GroupMember groupMember);

    int getCount();

    List<GroupMember> findByGroupId(Integer id);

    void groupLeader(GroupMember groupMember);

    GroupMember findById(Integer id);
}
